home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Prog / H-K / ICON GLUE.cpt / Instructions / Instructions
Encoding:
Text File  |  1988-12-31  |  1.6 KB  |  43 lines  |  [TEXT/MPS ]

  1. INSTRUCTIONS
  2. ============
  3.  
  4. (These instructions mimic the steps I performed to create the
  5. contents of the Example ƒ folder.  Note that even though I used
  6. 3 different Rez (abc.r) files, they could have just as easily
  7. been combined into one file).
  8.  
  9. • Execute Glue, and create a Glue.r file (with your icon information).
  10.   Note that for this example, I used 'GLUE' for the "Creator";  you
  11.   should use a 4-character ID of your own.  See the MacPaint hot print
  12.   for more.  (You can also use the Glue.r on this disk as an example).
  13.   
  14. • Select "Create Build Commands" from the MPW menu, and create a
  15.   make file.  The order of the 3 resource files dosen't matter -
  16.   but the order of the Pascal files do.  The dependencies I used
  17.   were:
  18.   
  19.     Sample.r -> Glue.r -> Pegasus.r -> Pegasus.p -> Sample.p
  20.   
  21.   
  22. • Execute the Make file, and compile the program.
  23.  
  24. • BEFORE you run the program, execute ResEdit (a utility that you
  25.   should own as a Mac programmer - I got mine from being a registered
  26.   user of LightspeedC).  DiskTop or any simular utility should also
  27.   do the trick...
  28.   
  29. • Change the Creator of your application to what you used (i.e. 'GLUE').
  30.   Turn the Bundle Bit ON, turn the Inited bit OFF. See the manual for
  31.   more.
  32.   
  33. • Now exit ResEdit and execute your program.
  34.  
  35. • Your application should now have custom icons assigned to it.
  36.  
  37. • You might notice that when you "hold down" with the mouse on these
  38.   icons, the icon region becomes invisible.  That's because I didn't
  39.   create a mask for these icons (com'on, I can't do everything!).
  40.   Refer to Inside Macintosh for more on icon masking.
  41.   
  42. Joe Pillera
  43. January 1989